//
//  GCMMainHttpRequst.h
//  GeeCityManager
//
//  Created by 聚城科技 on 16/3/15.
//  Copyright © 2016年 聚城科技. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface GCMMainHttpRequst : NSObject

+ (NSURLSessionDataTask *)pushTestSuccess:(void (^) (id MainPage , NSError *))success;

+ (NSURLSessionDataTask *)postMainPageInfoWithUserId:(NSString *)uid WithDepartID:(NSString *)departId WithuserName:(NSString *)userName Success:(void (^) (id MainPage , NSError *))success;
+ (NSURLSessionDataTask *)postMain2PageInfoWithUserId:(NSString *)uid WithDepartID:(NSString *)departId WithuserName:(NSString *)userName Success:(void (^) (id MainPage , NSError *))success;

//统计点击次数
+ (NSURLSessionDataTask *)ClickTimes:(NSString *)typeid Success:(void (^) (id times , NSError *))success;
//获取手机型号
+ (NSString*)deviceVersion;
//获取IP
+ (NSString *)getDeviceIPIpAddresses;

@end
